{% extends "base.html" %}

{% block content %}
<script language=javascript>

function verify(form){
//  if(form.pid.value==""){
//	alert("please select a program!");		
//    return false;
//	}

return true;
 }

</script>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center">
<form name='form1' id='form1' action="/program/" method='post' onsubmit='return verify(this);'>
<table width='650' class='grid' cellspacing='1' align='center'><tr><td colspan='2' class='title'>Select Program</td></tr>
<tr valign='middle' align='left'></tr>

<tr valign='middle' align='left'><td class='odd' width='25%'><font color="red">*</font>program:</td>
<td class='even'>
{% for p in program %}
<input type="radio" checked="checked" value="{{p.id}}" name="pid" id="p_{{p.id}}" tabindex="35"/>
<label for="p_{{p.id}}">{{p.name}}</label><br />
{% endfor %}
</td></tr>
<tr valign='middle' align='left'><td class='odd' width='25%'></td>
<td class='even'>&nbsp;<input type='submit' class='button' name='submit'  id='submit' value=' Submit '  />&nbsp;&nbsp;</form></td></tr>

</table>



{% endblock %}